<!--转正管理-->
<template>
	<el-card>
		<el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
			<el-tab-pane label="待转正" name="pending">
				<Pending />
			</el-tab-pane>
			<el-tab-pane label="已转正" name="agree">
				<Agree />
			</el-tab-pane>
		</el-tabs>
	</el-card>
</template>

<script setup lang="ts" name="EntryIndex">
import { TabsPaneContext } from 'element-plus'
import { defineAsyncComponent, defineComponent, ref } from 'vue'

import Pending from './plane/positive-pending-index.vue'

const Agree = defineAsyncComponent(() => import('./plane/positive-agree-index.vue'))

defineComponent({
	components: { Agree }
})

const typeList = ref()

const activeName = ref('pending')
const handleClick = (tab: TabsPaneContext, event: Event) => {
	console.log(tab, event)
}
</script>
